#include "mywebpage.h"

//MyWebPage::MyWebPage(QWebEnginePage *parent) : QWebEnginePage(parent)
//{



//}


bool MyWebPage::acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame)
{
    if (type == QWebEnginePage::NavigationTypeLinkClicked)
    {
        qDebug() << url;
    }
    return true;
}
